package com.chaodev.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class VolunteerDto implements Serializable {
    private Integer page;
    private Integer rows;
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "联系电话")
    private String realAccNbr;

    @ApiModelProperty(value = "整治面貌编码")
    private String politicalCode;

    @ApiModelProperty(value = "整治面貌名称")
    private String political;

    @ApiModelProperty(value = "单位编码")
    private String unitCode;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "所属行业编码")
    private String industryCode;

    @ApiModelProperty(value = "所属行业")
    private String industry;

    @ApiModelProperty(value = "所任职务")
    private String positionHeld;

    @ApiModelProperty(value = "企业/单位介绍")
    private String companyIntroduction;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-ddHH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date cTime;

    @ApiModelProperty(value = "状态：0：失效 1：有效")
    private Integer state;

    @ApiModelProperty(value = "志愿者编号")
    private String volunteerId;
}
